//
//  RAFSUHardwareModel.m
//  RAFSUManagement
//
//  Created by Piccolo on 22/03/2018.
//  Copyright © 2018 Rayonics. All rights reserved.
//

#import "RAFSUHardwareModel.h"

@implementation RAFSUHardwareModel

- (instancetype)initWithMacAddress:(NSString *)macAddress softVersion:(NSString *)softVersion {
    
    self = [super init];
    if (self) {
        _macAddress = [RAUtil noNullString:macAddress];
        _softVersion = [RAUtil noNullString:softVersion];
    }
    return self;
}

- (instancetype)initNoNull {
    
    self = [super init];
    if (self) {
        _macAddress = @"";
        _softVersion = @"";
    }
    return self;
}

@end
